<div class="panel-body">
  <div class="tieude">Sửa đổi quận - huyện</div>
  <?php
	if($note != ""){
		echo "<ul>";
		foreach($note as $nt){
			echo "<li><font color='#FF000'>$nt </font></li>";
		}
		echo "</ul>";
	}
  ?>
  <hr />
  <form class="form-horizontal" role="form" method="POST">
    <div class="form-group">
      <label class="col-md-4 control-label">ID</label>
      <div class="col-md-2">
        <input type="txt" class="form-control" name="id" readonly="readonly" value="<?php echo $id; ?>">
      </div>
    </div>
    <div class="form-group">
      <label class="col-md-4 control-label">Chọn tỉnh - thành phố</label>
      <div class="col-md-6">
        <select class="form-control" name="tinh_id">
          <?php foreach($t as $item){ if($item['id']==$kq['tinh_id']){?>
          <option value="<?php echo $item['id']; ?>" selected="selected"><?php echo $item['ten_tinh']; echo " -- "; echo $item['id']; ?> </option>
          <?php }else{ ?>
          <option value="<?php echo $item['id']; ?>"><?php echo $item['ten_tinh']; echo " -- "; echo $item['id']; ?> </option>
          <?php  }} ?>
        </select>
      </div>
    </div>
    <div class="form-group">
      <label class="col-md-4 control-label">Tên huyện</label>
      <div class="col-md-6">
        <input type="txt" class="form-control" value="<?php echo $kq['ten_huyen'] ?>" name="ten_huyen" required="required">
      </div>
    </div>
    <div class="form-group">
      <label class="col-md-4 control-label">&nbsp;</label>
      <div class="col-md-6">
        <input type="submit" class="btn btn-success" value="Sửa đổi" name="ok"/>
      </div>
    </div>
  </form>
</div>
